#include <cgic.h>

int cgiMain(){
    cgiHeaderContentType("text/html");
    fprintf(cgiOut, "<HTML><HEAD> <meta charset=\"UTF-8\"> \n");
    fprintf(cgiOut, "<TITLE>cgic测试</TITLE></HEAD>\n");
    fprintf(cgiOut, "<BODY><H1>这是cgic测试页面</H1>\n"); 
    fprintf(cgiOut,"</BODY></HTML>");
    return 0;
}